package cn.ranko.bean;

/**
 * Created by user on 2017/8/29.
 */
public class Pagination {

    private Integer page,rows,start;

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getRows() {
        return rows;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getStart() {
        return (page-1)*rows;
    }

    public void setStart(Integer start) {
        this.start = start;
    }
}
